﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NodeSource.Executor;
using NodeSource.Result;

namespace NodeSource.DataProvider
{
    public interface IDataProvider : IDisposable
    {
        DataProviderType DataProviderType { get; }
        bool CanBeQueriedInGroup { get; }
        bool Open();
        bool Close();
        bool IsActive();

        ResultSet Query(Query query);
    }
}
